<?php
/**
 * Created by PhpStorm.
 * User: 刘翰文
 * Date: 2019/7/3
 * Time: 15:47
 */

namespace app\api\model;


class OrderMaster extends BaseModels
{
    public function OrderDetail(){
        return $this->hasMany('OrderDetail','order_id','order_id');
    }

}